#include "teacherform.h"
#include "ui_teacherform.h"
#include "mainwindow.h"

teacherForm::teacherForm(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::teacherForm)
{
    ui->setupUi(this);
}

teacherForm::~teacherForm()
{
    delete ui;
}

void teacherForm::on_pushButton_3_clicked()
{
    MainWindow *h;
    this->hide();
    h=new MainWindow  ;

    h->show();
}


void teacherForm::on_pushButton_2_clicked()
{
    this->hide();
    findscore* a=new findscore(1);
    a->show();
}


void teacherForm::on_pushButton_clicked()
{
    this->hide();
    stuinformanage *ij=new stuinformanage(1);
    ij->show();
}


void teacherForm::on_pushButton_4_clicked()
{
    this->hide();
    changePswd* c=new changePswd(2);
    c->show();
}

